package com.example.demo.bean.log;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@TableName("sys_oper_log")
@Accessors(chain = true)
public class SysOperLogDO {
    @TableId
    private Long operId;
    private String title;
    private Integer operType;
    private String method;
    private String reqMethod;
    private String operName;
    private String operUrl;
    private String operIp;
    private String operLocation;
    private String reqParam;
    private String repParam;
    private Integer status;
    private String errorMsg;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operTime;
    private Long costTime;
}
